package com.ivo.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.ivo.core.hibernate.Model;

/**
 * 
 *
 * @author Minkey Wang
 * @version 2017年7月6日
 */
@Entity
@Table(name = "sys_o_code")
public class Code extends Model{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2000373109598794576L;

	@Column(name = "NAME")
	private String name;
	
	@Column(name = "LABEL")
	private String label;
	
	@Column(name = "CATEGORY_FK")
	private Long category;
	
	@Column(name = "SEQUENCE")
	private Integer sequence = 10;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Long getCategory() {
		return category;
	}

	public void setCategory(Long category) {
		this.category = category;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}
	
	
}
